{% import "_dev.twig" as a %}

{% set pyqtestdata = fsReadJsonSync("./tests/css/aup/data/" ~ dataversion ~ "index.json") %}

<style>
    .exp-chat .app-pyq-msg > .u-list {
        display: flex;
        flex-direction: row-reverse;
    }
    .exp-chat .app-pyq-msg__title {
        text-align: right;
    }
    .exp-chat .app-pyq-msg__body > .u-list  {
        display: flex;
        flex-direction: row-reverse;
    }
    .exp-chat .app-pyq-gallery {
        display: flex;
        flex-direction: row-reverse;
    }
    .exp-chat .app-pyq-msg__location {
        text-align: right;
    }
    .exp-chat .app-pyq-msg__after:before {
        right: 14px;
    }
</style>

<div id="pongyouquan" class="container">
    <h3>模板文件实现</h3>
    {# <pre>{{ htmlspecialchars(fsReadFileSync("./tests/css/aup/penyouquan/_dev.twig", "utf8")) }}</pre> #}
    <div id="control">
        {% for pyqxiaoxi in pyqtestdata.list %}
            {{ a.m(pyqxiaoxi) }}
            <div class="aux-preview-code"><pre class="content"></pre></div>
            <h5>导出</h5>
            <div class="exp-export">
                {{ a.m(pyqxiaoxi) }}
            </div>
            <div class="aux-preview-code"><pre class="content"></pre></div>
        {% endfor %}
    </div>
</div>